<?php $this->_extends('_layouts/bocib_layout'); ?>

<?php $this->_block('content');?>
<style>
td, table , tr{border:none;}
td{width:150px;}
</style>
<div id="content">
    <h2><?=$notice;?></h2>
    <div id="tagList">
		<form action="<?=url('botag/remapinternationallytag');?>" method="post">
			<div>
				<table>
					<tr cols="3"><b style="border-bottom:1px solid black;padding-bottom:3px;">国际交流标签页</b></tr>
					<?php foreach(Tag::find('category = ?', '国际交流')->all()->query() as $tag) { ?>
					<tr>
						<td><?=$tag->tag;?></td>
						<td><input type="checkbox" name="isonhomepage[]" value="<?=$tag->tag_id;?>" <?php if($tag->isonhomepage == 1) { ?> checked="checked" <?php } ?>/><label>放在首页</label></td>
						<td><input type="checkbox" name="isvisible[]" value="<?=$tag->tag_id;?>" <?php if($tag->isvisible == 1) { ?> checked="checked" <?php } ?>/><label>放在国际交流页右侧</label></td>
					</tr>
					<?php } ?>
				</table>
				<input type="submit" value="提交" />
			</div>
		</form>
    </div>
</div>
<?php $this->_endblock('content');?>